//
//  LeftTableViewCell.m
//  Mall
//
//  Created by 孙飞燕 on 16/9/30.
//  Copyright © 2016年 孙飞燕. All rights reserved.
//

#import "LeftTableViewCell.h"

@interface LeftTableViewCell ()

//@property (nonatomic,strong)UIView *
@end
@implementation LeftTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
//        self.selectionStyle = UITableViewCellSelectionStyleNone;
        self.nameLabel = [[UILabel alloc]initWithFrame:CGRectMake(5, 5, 50, 30)];
        self.nameLabel.numberOfLines = 0;
        self.nameLabel.font = [UIFont systemFontOfSize:15];
        self.nameLabel.highlightedTextColor = [[UIColor blueColor]colorWithAlphaComponent:0.5];
        [self.contentView addSubview:self.nameLabel];
    }
    return self;
}
- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
    self.highlighted = selected;
    self.nameLabel.highlighted = selected;
    // Configure the view for the selected state
}

@end
